package com.qf.service;

import com.qf.pojo.reqVo.UserReq;
import com.qf.pojo.respVo.BaseResp;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    BaseResp findAll();

    BaseResp saveOrUpdate(UserReq userReq);


    BaseResp del(Integer userId);

    BaseResp findUserByToken(HttpServletRequest request);

    BaseResp getEmail(String email);



    BaseResp userName(UserReq userReq);

    BaseResp getCode(String email);

    BaseResp registry(UserReq userReq);

    BaseResp login(UserReq userReq);
}
